package com.yunxin.core.application.command.product;

import com.yunxin.common.base.BasePageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author zero°
 * @since 2023-05-31
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@Schema(description = "分页查询产品列表对象")
public class ProductPageCommand extends BasePageRequest implements Serializable {

    /**
     * 商户id
     */
    @Schema(description = "商户id")
    private Long merchantId;

    /**
     * 产品名称
     */
    @Schema(description = "产品名称")
    private String productName;

    /**
     * 产品状态 0.下架 1.上架
     */
    @Schema(description = "产品状态 0.下架 1.上架")
    private Integer productStatus;

    /**
     * 对接方式 1.自营 2.h5 3.api 4.企业微信
     */
    @Schema(description = "对接方式")
    private Integer abutmentType;


    /**
     * 计费方式 1.uv 2.注册 3.表单
     */
    @Schema(description = "计费方式 1.uv 2.注册 3.表单")
    private Integer chargedWay;



}
